package cn.schoolwow.util.module.compare.instanceList.service;

import cn.schoolwow.quickflow.QuickFlowExecutor;
import cn.schoolwow.quickflow.flow.CompositeBusinessFlow;
import cn.schoolwow.util.module.compare.instanceList.flow.SetAddAndUpdateCompareListFlow;
import cn.schoolwow.util.module.compare.instanceList.flow.SetDeleteCompareListFlow;

public class CompareInstanceListCompositeBusiness implements CompositeBusinessFlow {
    @Override
    public void executeCompositeBusiness(QuickFlowExecutor quickFlowExecutor) {
        quickFlowExecutor.next(new SetAddAndUpdateCompareListFlow())
                .next(new SetDeleteCompareListFlow());
    }

    @Override
    public String name() {
        return "比较实例列表";
    }
}
